/**
 * Copyright 2004 - 2007 Blue Bamboo International Inc.
 *           All rights reserved.
 *
 *
 * Blue Bamboo PROPRIETARY/CONFIDENTIAL.
 *
 */

package com.bluebamboo.bta.codec;

import org.apache.mina.filter.codec.ProtocolCodecFactory;
import org.apache.mina.filter.codec.ProtocolDecoder;
import org.apache.mina.filter.codec.ProtocolEncoder;

/**
 * DOCME
 * 
 * @author TanXuqing
 * @date Jul 23, 2009
 * @since
 */
public class MyProtocolCodecFactory implements ProtocolCodecFactory {

	public ProtocolDecoder getDecoder() throws Exception {
		return new MyProtocolDecoder();
	}

	public ProtocolEncoder getEncoder() throws Exception {
		return new MyProtocolEncoder();
	}

}
